﻿<%@ Page Title="" Language="C#" MasterPageFile="~/hgmanage/Main.Master" AutoEventWireup="true"
    CodeBehind="GuPiaoPrice.aspx.cs" Inherits="huaguwang.hgmanage.Bogu.GuPiaoPrice" %>

<%@ Import Namespace="huaguwang" %>
<%@ Register Assembly="HGWebControls" Namespace="huaguwang.WebControls" TagPrefix="cc1" %>
<%@ Register Assembly="AspNetPager" Namespace="Wuqi.Webdiyer" TagPrefix="webdiyer" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
<script language="javascript" type="text/javascript" src="../../js/My97DatePicker/WdatePicker.js">
    
</script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Body" runat="server">
    <cc1:WebUserToolBar ID="WebUserToolBar1" runat="server" OnLoadErr="WebUserToolBar1_LoadErr"
        OnButton0="WebUserToolBar1_Button0" CssClass="toolbar" ButtonCSS="btn_done">
    </cc1:WebUserToolBar>
    <div class="search_box">
        <ul>
            <li>
                <p>
                    <em>股票名称：</em><asp:TextBox ID="TextBox1" runat="server"></asp:TextBox></p>
            </li>
            <li>
                <p>
                    <em>股票代码：</em><asp:TextBox ID="TextBox2" runat="server"></asp:TextBox></p>
            </li>
            <li>
                <p>
                    <em>查询日期起：</em><asp:TextBox ID="TextBox3" runat="server" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="Wdate"></asp:TextBox></p>
            </li>
            <li>
                <p>
                    <em>查询日期止：</em><asp:TextBox ID="TextBox4" runat="server" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" class="Wdate"></asp:TextBox>
                </p>
            </li>
        </ul>
    </div>
    <div class="result_list">
        <dl class="mul_table">
            <asp:Repeater ID="Repeater1" runat="server">
                <HeaderTemplate>
                    <dt>
                        <ul>
                            <li style="width: 15%">股票代码</li>
                            <li style="width: 15%">股票名称</li>
                            <li style="width: 15%">日期</li>
                            <li style="width: 15%">当前价格</li>
                            <li style="width: 15%">前日收盘价</li>
                        </ul>
                    </dt>
                </HeaderTemplate>
                <ItemTemplate>
                    <dd <%#(Container.ItemIndex % 2==0)?"class='odd'":"" %> onmouseover="javascript:limouseover(this);"
                        onmouseout="javascript:limouseout(this);">
                        <ul>
                            <li style="width: 15%">
                                <%#Eval("code") %></li>
                            <li style="width: 15%">
                                <%#Eval("title")%></li>
                            <li style="width: 15%">
                                <%#Eval("ExchDate").Exp_DateTimeTryParse().ToString("yyyy-MM-dd")%></li>
                            <li style="width: 15%">
                                <%#Eval("Price").Exp_DecimalTryParse()%></li>
                            <li style="width: 15%">
                                <%#Eval("YesPrice")%></li>
                        </ul>
                    </dd>
                </ItemTemplate>
            </asp:Repeater>
        </dl>
    </div>
    <div class="pagebar">
        <webdiyer:AspNetPager ID="Pager" runat="server" AlwaysShow="True" FirstPageText="首页"
            HorizontalAlign="Right" LastPageText="尾页" NextPageText="下一页" PrevPageText="上一页"
            ShowCustomInfoSection="Left" showinputbox="Never" ShowNavigationToolTip="True"
            CustomInfoHTML="第%CurrentPageIndex%页/共%PageCount%页/共%RecordCount%条记录" OnPageChanging="Pager_PageChanging"
            TextAfterPageIndexBox="" CustomInfoSectionWidth="40%" CustomInfoStyle="text-align:left"
            PagingButtonLayoutType="None">
        </webdiyer:AspNetPager>
    </div>
</asp:Content>
